package ServerApp;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.Date;

import org.w3c.dom.Document;

/**
 * Interface which specifies the available methods on the server service 
 * @author Matthias Olbinski
 * 
 */
public interface IServer extends Remote {
//	public User registerUser(String username, String password) throws RemoteException;
	public User login(String username, String password) throws RemoteException;
	public ArrayList<Meeting> getMeetings(User currentUser) throws RemoteException;
	public boolean addNewUser(User user, User currentUser) throws RemoteException;
	public boolean addNewMeeting(Meeting meeting, User currentUser) throws RemoteException;
	public boolean deleteMeeting(Meeting meeting, User currentUser) throws RemoteException;
	public boolean logOut(User user) throws RemoteException;
}
